package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.ShopCashRecordDao;
import com.fsj.admin.system.domain.ShopCashRecordDO;
import com.fsj.admin.system.service.ShopCashRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class ShopCashRecordServiceImpl implements ShopCashRecordService {
	@Autowired
	private ShopCashRecordDao shopCashRecordDao;
	
	@Override
	public ShopCashRecordDO get(Long id){
		return shopCashRecordDao.get(id);
	}
	
	@Override
	public List<ShopCashRecordDO> list(Map<String, Object> map){
		return shopCashRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopCashRecordDao.count(map);
	}
	
	@Override
	public int save(ShopCashRecordDO shopCashRecord){
		return shopCashRecordDao.save(shopCashRecord);
	}
	
	@Override
	public int update(ShopCashRecordDO shopCashRecord){
		return shopCashRecordDao.update(shopCashRecord);
	}
	
	@Override
	public int remove(Long id){
		return shopCashRecordDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return shopCashRecordDao.batchRemove(ids);
	}

	@Override
	public List<ShopCashRecordDO> getShopCashList(Map<String, Object> map) {
		return null;
	}

}
